package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.LinedState;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LinedStateMapper {
    int deleteByPrimaryKey(String tid);

    int insert(LinedState record);

    int insertSelective(LinedState record);

    LinedState selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(LinedState record);

    int updateByPrimaryKey(LinedState record);

    LinedState getLinedStateByField(@Param("field") String field, @Param("value") String value);

    List<LinedState> getAllLindedState();

    int updateStateByNumber(@Param("state")String state,@Param("number")String number);

    List<LinedState> getUnboundLinedState();

    void  delAllDirtyData();
}